<template>
	
	<view class="navBar">
	  <navigator open-type="navigateBack">
	    <image src="../../../static/images/banner/back.png" mode="aspectFit" style="width: 40rpx;height: 40rpx;"></image>
	  </navigator>
	  <text class="textone">{{title}}</text>
	</view>
	
</template>

<script>
	
	export default{
		props:{
			
			title:{
				type:String,
				default:()=>({})
			}
			
		}
	}
	
</script>

<style>
	.navBar {
	  width: 100%;
	  background-color: rgb(0, 112, 255);
	  height: 80rpx;
	  display: flex;
	  justify-content: space-between;
	  padding: 20rpx 20rpx;
	  box-sizing: border-box;
	}
	
	.textone {
	  font-size: 36rpx;
	  width: 100%;
	  text-align: center;
	  color: white;
	  font-weight: 800;
	}
</style>